<template>
    <div class="infinite-container" >
      <div class="content-box mt10">
        <div class="content-title sprites">
          医生简介
        </div>
        <div class="content-content">
          <div class="four-cornor-wrapper pd20">
              <i class="l"></i><i class="r"></i><i class="t"></i><i class="b"></i>
              <div v-html="doctor.introduce || '暂无数据'"></div>
          </div>
        </div>

        <div class="content-title sprites">
          学术成就
        </div>
        <div class="content-content">
          <div class="four-cornor-wrapper pd20">
              <i class="l"></i><i class="r"></i><i class="t"></i><i class="b"></i>
              <div v-html="doctor.scholarShip || '暂无数据'"></div>
          </div>
        </div>

    </div>
    </div>
</template>

<script>
export default {
  mounted () {
    this.$store.commit('UPDATE_TITLE', '医生简介')
    this.doctor = JSON.parse(sessionStorage.doctor)
  },
  data () {
    return {
      doctor: {}
    }
  },
  beforeDestroy () {
    this.$store.commit('UPDATE_TITLE')
  }
}
</script>
